<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
</head>
<body>
<#assign username="张三"/>
${username}
<hr/>
${user.name}
<hr/>
${(user.password)!"无密码"}
<hr/>
${user.hiredate?string('yyyy-MM-dd HH:mm:ss zzzz')}
<hr/>
<#if user.name??>
    不为空
<#else>
    为空
</#if>
<hr/>
<#include "/top.html">
<hr/>

<#if (list?size=0)>
    集合为空
<#else>
    不为空
</#if>

<hr/>
<#list list as user>
   ${user_index+1}==== ${user.id},${user.name}  <br/>
</#list>

</body>    
    